import type { FormQueryData } from '@/api/system/user/types'


interface FormProps {
  formInline: FormQueryData;
  higherDeptOptions: Record<string, unknown>[];
  /** 用于判断是`新增`还是`修改` */
  title: string;
}

interface RoleFormItemProps {
  username: string;
  nickname: string;
  /** 角色列表 */
  roleOptions: any[];
  /** 选中的角色列表 */
  ids: number[];
}
interface RoleFormProps {
  formInline: RoleFormItemProps;
}

export type { FormProps, RoleFormItemProps, RoleFormProps };
